#ifndef __FITSHPERE_H__
#define __FITSHPERE_H__
#define N 4
typedef struct Point{
    double x,y,z;
} Point;
int SolveQuaternion(double matrix[N][N+1],double *result);
int fitSphere(Point p1,Point p2,Point p3,Point p4,Point *result);
int FartherThan(Point p1,Point p2,double distanceSquare);
#endif
